(0) Obligation:

Clauses:

even(X) :- ','(eq(Y, f(e, f(o, Y))), c(Y, X)).
c(f(e, X1), 0).
c(f(X2, X), s(Y)) :- c(X, Y).
eq(X, X).

Query: even(g)

(1) PrologToPrologProblemTransformerProof (SOUND transformation)

Built Prolog problem from termination graph ICLP10.

(2) TRUE